using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SceneLoader : MonoBehaviour
{
    [SerializeField]
    bool autoLoad = false;
    [SerializeField]
    string sceneName = "login_scene";

    private void Start()
    {
        if (autoLoad)
            Load();
    }

    public void Load()
    {
        YooAsset.YooAssets.LoadSceneAsync(sceneName);
    }
}
